package cn.flexui.flexuiserver.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serial;

/**
 * <p>
 * 附件信息
 * </p>
 *
 * @author apeto
 * @since 2024-09-17 07:08:21
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("file_info_detail")
@Schema(name = "FileInfoDetail", description = "附件信息")
public class FileInfoDetail extends BaseEntity<FileInfoDetail> {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "请求ID")
    @TableField("request_id")
    private String requestId;

    @Schema(description = "地址")
    @TableField("path")
    private String path;

    @Schema(description = "原文件名")
    @TableField("original_file_name")
    private String originalFileName;

    @Schema(description = "文件名")
    @TableField("file_name")
    private String fileName;

    @Schema(description = "oss类型")
    @TableField("platform")
    private String platform;

    @Schema(description = "显示类型 1:c端  2:b端")
    @TableField("view_type")
    private Integer viewType;
}
